package com.fbt.andon.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 机器设备表
 * </p>
 *
 * @author 冯涛
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Facility对象", description = "机器设备表")
public class Facility implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pk_id", type = IdType.AUTO)
    private Integer pkId;

    /**
     * 卡号
     */
    @Excel(name = "卡号")
    @ApiModelProperty(value = "卡号")
    private String machineNumber;

    /**
     * 设备名
     */
    @Excel(name = "设备名")
    @ApiModelProperty(value = "设备名")
    private String name;

    /**
     * 维修状态
     */
    @Excel(name = "维修状态")
    @ApiModelProperty(value = "维修状态")
    private String serviceState;

    /**
     * 详细情况
     */
    @Excel(name = "详细情况")
    @ApiModelProperty(value = "详细情况")
    private String details;

    /**
     * 持续时常
     */
    @Excel(name = "持续时常")
    @ApiModelProperty(value = "持续时常")
    private Long time;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    @Excel(name = "工序")
    @ApiModelProperty(value = "工序")
    private String remark;
    /**
     * 员工
     */
    @Excel(name = "员工")
    @ApiModelProperty(value = "员工")
    private String worker;


    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改者")
    private String updateUser;


    }


